#import <StoreKit/StoreKit.h>

@interface IAPManager : NSObject <SKPaymentTransactionObserver,SKProductsRequestDelegate>
{
	bool mConnected;
}

+(IAPManager*)sharedManager;

-(void)requestPurchase:(int)iapId;
-(void)provideContent:(NSString*)productId;

// 请求可以购买的内容
-(void)requestProductData;

@end